import request from '@/common/js/request'

// 登录
export function signIn(data) {
  return request.post('/gApi/login', data)
}

// 获取用户信息
export function getUserList(data) {
  return request.post('/gApi/getUserList', data)
}

// 获取用户菜单信息
export function getMenuList() {
  return request.post('/api/getMenuList')
}

// 注册
export function register(params) {
  return request.post('/gApi/register', params)
}
